package com.yfp.common.core.utils;

import jakarta.annotation.PostConstruct;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * 
 * @CreateDate: 2024/9/13 17:55
 * @UpdateUser: 
 * @UpdateDate: 2024/9/13 17:55
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Component
public class testtt {
    public static String active;

    @Value("${spring.profiles.active}")
    private String active2;
    @PostConstruct
    public void init() {
        active = active2;
    }
}
